package org.springblade.tms.global.anno;

import org.apache.logging.log4j.util.Strings;

import java.lang.annotation.*;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.global.anno
 * @className: SelectEnum
 * @author: yr
 * @description: 获取枚举接口
 * @date: 2022/3/11 16:00
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface SelectEnum {
	/**
	 * 下拉列表查询关键字
	 *
	 * @return
	 */
	String value();

	/**
	 * 下拉列表描述
	 *
	 * @return
	 */
	String desc() default Strings.EMPTY;
}
